home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 60.zip
/
BS1 part 60
/
Highspeed pascal.adf
/
Demos
/
StrDemo.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-12-31
|
452b
|
21 lines
Program StrDemo;
{ This small program demonstrates how to use one of the new }
{ features in the UTILUNIT.PAS file }
Uses UtilUnit;
Var
R : Real;
Begin
Write('Enter a number: '); ReadLn(R);
{ All output to the StrOut file is stored in the string StrData. }
Write(StrOut,R :20:10);
{ StrData now contains the entered number. }
{ Including the formatting spaces. }
Writeln('You entered: ',StrData);
End.